

#ifndef PF_STATICGRAPHICVIEW_H
#define PF_STATICGRAPHICVIEW_H

#include "pf_graphicview.h"
#include "pf_layerlistobserver.h"
#include "lx_String.h"
#include "lx_Export.h"

/**
 * This is an implementation of a graphic viewer with a fixed size
 * for drawing onto fixed devices (such as bitmaps).
 */
class LX_EXPORT PF_StaticGraphicView: public PF_GraphicView {
public:
    PF_StaticGraphicView(int w, int h, PF_Painter* p);
    virtual ~PF_StaticGraphicView();

    virtual int getWidth();
    virtual int getHeight();
    virtual void redraw(LX_Define::RedrawMethod) {}
    virtual void adjustOffsetControls() {}
    virtual void adjustZoomControls() {}
    virtual void setMouseCursor(LX_Define::CursorType ) {}

    virtual void emulateMouseMoveEvent() {}
	virtual void updateGridStatusWidget(const PF_String& ) {}

    void paint();

private:
    //! Width
    int width;

    //! Height
    int height;
	
	PF_Painter* painter;
};

#endif
